package com.neuedu.his.controller;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.neuedu.his.entity.DrugsDetailed;
import com.neuedu.his.service.DrugsDetailedService;


@RestController
@RequestMapping("/drugsdetailed")
public class DrugsDetailedController {

	@Autowired
	private DrugsDetailedService service;
	
	@RequestMapping("/selectById")
	// http://localhost:8088/drugsdetailed/selectById?drugsid=23
	public List<DrugsDetailed> selectById(DrugsDetailed u) {
		return service.selectById(u);
	}
}
